]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Annotate list setters
authorColin Walters <walters@verbum.org>
Fri, 16 Oct 2009 14:40:42 +0000 (10:40 -0400)
committerColin Walters <walters@verbum.org>
Fri, 16 Oct 2009 20:04:46 +0000 (16:04 -0400)
Without these bindings don't know the type of list elements.

https://bugzilla.gnome.org/show_bug.cgi?id=598691

src/shell-gconf.c

index fab0ac69523a145c62fc1d7fe12003c2400926c4..2d065512bf17e60c0624f629b4a67533dd6ac4b2 100644 (file)
@@ -355,7 +355,7 @@ SIMPLE_SETTER(shell_gconf_set_string, const char *, gconf_client_set_string)
  * shell_gconf_set_boolean_list:
  * @gconf: a #ShellGConf
  * @key: a GConf key (as described in the #ShellGConf docs)
- * @value: (transfer none): value to set @key to
+ * @value: (transfer none) (element-type gboolean): value to set @key to
  * @error: a #GError, which will be set on error
  *
  * Sets the value of @key to @value.
@@ -377,7 +377,7 @@ LIST_SETTER(shell_gconf_set_int_list, GCONF_VALUE_INT)
  * shell_gconf_set_float_list:
  * @gconf: a #ShellGConf
  * @key: a GConf key (as described in the #ShellGConf docs)
- * @value: (transfer none): value to set @key to
+ * @value: (transfer none) (element-type float): value to set @key to
  * @error: a #GError, which will be set on error
  *
  * Sets the value of @key to @value.
@@ -388,7 +388,7 @@ LIST_SETTER(shell_gconf_set_float_list, GCONF_VALUE_FLOAT)
  * shell_gconf_set_string_list:
  * @gconf: a #ShellGConf
  * @key: a GConf key (as described in the #ShellGConf docs)
- * @value: (transfer none): value to set @key to
+ * @value: (transfer none) (element-type utf8): value to set @key to
  * @error: a #GError, which will be set on error
  *
  * Sets the value of @key to @value.